(0...10).each do |i|
	God.watch do |w|
		
		w.name = "consumer_#{i}"	
		w.start = "/data/chendawei/my_scripts/ruby/starling/consumer.rb"
		w.log = "/data/chendawei/my_scripts/ruby/starling/consumer_#{i}.stdout"
		w.keepalive
	end
end


